﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BE
{
	public class Album
	{
		public int Id          { get; private set; }
		private string image;
		public string Image { get { return image + ".jpg"; } set { image = value; } }
		public string Artist   { get; set; }
		public string Title    { get; set; }
		public int[] Genre     { get; set; }
		public int Year        { get; set; }
		public decimal Price   { get; set; }
        public string DecimalOutPut { get { return Price.ToString("F"); } }

		public Album(int id, string image, string artist, string title, int[] genre, int year, decimal price)
		{
			this.Id = id;
			this.Image = image;
			this.Artist = artist;
			this.Title = title;
			this.Genre = genre;
			this.Year = year;
			this.Price = price;
		}
	}
}
